package com.gec.entity;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author GOF
 * @since 2021-11-04
 */
@TableName("HP_DEPTS")
@KeySequence("SEQ_HP_DEPTS")
public class Depts implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "DEPT_ID",type = IdType.INPUT)
    private Integer id;

    @TableField("DEPT_NAME")
    private String name;

    @TableField("DEPT_LOC")
    private String loc;

    @TableField("DEPT_PHONE")
    private String phone;

    @TableField("DEPT_TXT")
    private String txt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTxt() {
        return txt;
    }

    public void setTxt(String txt) {
        this.txt = txt;
    }

    @Override
    public String toString() {
        return "Depts{" +
        ", id=" + id +
        ", name=" + name +
        ", loc=" + loc +
        ", phone=" + phone +
        ", txt=" + txt +
        "}";
    }
}
